Q: Which term describes the mechanism of a function calling itself ?
Solution: The correct answer is: recursion
Q: Array which is having ____ dimensions is called as 2-D array.
Solution: The correct answer is: 2
Q: Which is the correct sequence statements that swaps values of two statements?
Solution: The correct answer is: a=a+b, b=a-b; a=a-b;
Q: In many programming languages, ‘otherwise’ and ‘else’ are part of which building block?
Solution: The correct answer is: Selection
Q: By default a real number is treated as a
Solution: The correct answer is: float
Q: Choose the option that contains only Unary operators of C:
Solution: The correct answer is: sizeof, (type conversion)
Q: What is the output of the following code segment(assuming sizeof(int) returns 4)? int i=0x1 << sizeof(int)*8-1; printf(" %x",i); i=i>>sizeof(int)*8-1; printf("%d",i);
Solution: The correct answer is: 80000000-1
Q: Given two literals 0x001B and 033. What are these equal to?
Solution: The correct answer is: 27 and 27
Q: A robust program has which one of the following features?
Solution: The correct answer is: It can handle incorrect input data or data types.
Q: If we have declared an array described below - int arr[6]; then which of the following array element is considered as last array element ?
Solution: The correct answer is: arr[5]
You Have Score    | /10 |